package cn.com.coldg.bean;

import java.sql.Timestamp;
import java.util.Date;

public class UserInfo {
	private int userId;
	private String userName;
	private int	teamId;
	private String phone;
	private int sex;
	private Date birthday;
	private String type;
	private Timestamp inseterTime;
	private String showSex;
	private String teamName;

	public String getShowSex() {
		String res="";
		if(0==this.sex){
			res="女";
		}
		if(1==this.sex){
			res="男";
		}
		return res;
	}
	
	public void setShowSex(String showSex) {
		this.showSex = showSex;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public int getTeamId() {
		return teamId;
	}

	public void setTeamId(int teamId) {
		this.teamId = teamId;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public int getSex() {
		return sex;
	}
	public void setSex(int sex) {
		if(0==sex){
			this.showSex="女";
		}
		if(1==sex){
			this.showSex="男";
		}
		this.sex = sex;
	}
	


	
	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Timestamp getInseterTime() {
		return inseterTime;
	}

	public void setInseterTime(Timestamp inseterTime) {
		this.inseterTime = inseterTime;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	

	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}


	
}
